Part Number Hot Search : 
2SD1051 YAAMUA V53C104A D20C201 2SJ277 TA2057N CY7C63 WMN6T
Product Description
Full Text Search
 

To Download GM2121 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  genesis microchip inc. 165 commerce valley dr. west ? thornhill ? on ? canada ? l3t 7v8 ? tel: (905) 889-5400 ? fax: (905) 889-5422 2150 gold street ? po box 2150 ? alviso ? ca ? usa ? 95002 ? tel: (408) 262-6599 ? fax: (408) 262-6365 4f, no. 24, ln 123, sec 6, min-chung e. rd. ? taipei ? taiwan ? tel: (2) 2791-0118 ? fax: (2) 2791-0196 143-37 hyundai tower ? unit 902 ? samsung-dong ? kangnam-gu ? seoul ? korea ? 135-090 ? tel: (82-2) 553-5693 ? fax: (82-2) 552-4942 www. genesis-microchip.com / info@genesis-microchip.com .com genesis microchip publication preliminary data sheet GM2121 sxga lcd monitor controller with integrated analog interface and dual lvds transmitter publication number: c2121-dat-01f publication date: december 2002
? copyright 2002 genesis microchip inc. all rights reserved. genesis microchip inc. reserves the right to change or m odify the information contained her ein without notice. it is the customer?s responsibility to obtain the most recent re vision of the document. genesis microchip inc. makes no warranty for the use of its products and bears no responsibility for any errors or omissions that may appear in this document. the following are trademarks or registered trademarks of genesis microchip, inc.: genesis tm , genesis display perfection tm , esm tm , realcolor tm , ultra-reliable dvi tm , real recovery tm , sage tm , jagasm tm , suresync tm , adaptive backlight control?, faroudja tm , dcdi tm , truelife tm , intellicomb tm other brand or product names are tradem arks of their respective holders.
GM2121 preliminary data sheet c2121-dat-01f 3 december 2002 http://www.genesis-microchip.com table of contents 1 overview ....................................................................................................................... .................8 1.1 GM2121 system design example..........................................................................................8 1.2 GM2121 features ................................................................................................................ ...9 2 gm 2121 pinout .................................................................................................................... ........10 3 gm 2121pin list ................................................................................................................... ........11 4 functional description ......................................................................................................... ........16 4.1 clock generation............................................................................................................... ..16 4.1.1 using the internal oscillator with external crystal ........................................................17 4.1.2 using an external clock oscillator.................................................................................19 4.1.3 clock synthesis ...............................................................................................................2 0 4.2 chip initialization............................................................................................................ ....21 4.2.1 hardware reset ...............................................................................................................21 4.2.2 correct power sequencing ..............................................................................................22 4.3 analog to digital converter ................................................................................................22 4.3.1 adc pin connection.......................................................................................................23 4.3.2 adc characteristics........................................................................................................23 4.3.3 clock recovery circuit...................................................................................................24 4.3.4 sampling phase adjustment............................................................................................25 4.3.5 adc capture window ....................................................................................................25 4.4 test pattern generator (tpg)..............................................................................................26 4.5 input format measurement .................................................................................................26 4.5.1 hsync / vsync delay ................................................................................................27 4.5.2 horizontal and vertical measurement ............................................................................28 4.5.3 format change detection................................................................................................28 4.5.4 watchdog ....................................................................................................................... .28 4.5.5 internal odd/even field detection (for interlaced inputs to adc only) ......................28 4.5.6 input pixel measurement ................................................................................................29 4.5.7 image phase measurement..............................................................................................29 4.5.8 image boundary detection..............................................................................................29 4.5.9 image auto balance ........................................................................................................29 4.6 realcolor tm digital color controls....................................................................................29 4.6.1 realcolor? flesh tone adjustment ...............................................................................30 4.6.2 color standardization and srgb support.......................................................................30 4.7 high-quality scaling........................................................................................................... 30 4.7.1 variable zoom scaling....................................................................................................30
GM2121 preliminary data sheet c2121-dat-01f 4 december 2002 http://www.genesis-microchip.com 4.7.2 horizontal and vertical shrink........................................................................................30 4.8 bypass options................................................................................................................. ...30 4.9 gamma lut...................................................................................................................... ..31 4.10 display output interface .....................................................................................................31 4.10.1 display synchronization.............................................................................................31 4.10.2 programming the display timing ..............................................................................31 4.10.3 panel power sequencing (ppwr, pbias) .................................................................33 4.10.4 output dithering .........................................................................................................33 4.11 dual four channel lvds transmitter ...............................................................................34 4.12 energy spectrum management (esm)................................................................................34 4.13 osd ............................................................................................................................ .........34 4.13.1 on-chip osd sram .................................................................................................35 4.13.2 color look-up table (lut) .......................................................................................36 4.14 on-chip microcontroller (ocm) ........................................................................................36 4.14.1 standalone configuration ...........................................................................................37 4.14.2 full-custom configuration.........................................................................................38 4.14.3 in-system-programming (isp) of flash rom devices .........................................39 4.14.4 uart interface ..........................................................................................................39 4.14.5 ddc2bi interface .......................................................................................................40 4.14.6 general purpose inputs and outputs (gpio?s)...........................................................40 4.15 bootstrap configuration pins ..............................................................................................41 4.16 host interface ................................................................................................................. .....42 4.16.1 host interface command format................................................................................42 4.16.2 2-wire serial protocol .................................................................................................43 4.17 miscellaneous functions .....................................................................................................44 4.17.1 low power state.........................................................................................................44 4.17.2 pulse width modulation (pwm) back light control ................................................45 5 electrical specifications ...................................................................................................... .........46 5.1 preliminary dc characteristics ...........................................................................................46 5.2 preliminary ac characteristics ...........................................................................................48 5.3 external rom interface timing requirements ..................................................................49 6 ordering information ........................................................................................................... ........50 7 mechanical sp ecifications...................................................................................................... ......51
GM2121 preliminary data sheet c2121-dat-01f 5 december 2002 http://www.genesis-microchip.com list of tables table 1. analog input port .............................................................................................................. ..11 table 2. rclk pll pins .................................................................................................................. 11 table 3. system interface and gpio signals ....................................................................................12 table 4. display output port............................................................................................................ .13 table 5. parallel rom interface port................................................................................................13 table 6. reserved pins ...................................................................................................................14 table 7. power and ground pins for adc sampling clock dds ....................................................14 table 8. power and ground pins for display clock dds ................................................................14 table 9. i/o power and ground pins.................................................................................................15 table 10. power and ground pins for lvds transmitter ..............................................................15 table 11. tclk specification ........................................................................................................19 table 12. pin connection for rgb input with hsync/vsync...................................................23 table 13. adc characteristics........................................................................................................24 table 14. supported lvds 24-bit panel data mapping.................................................................34 table 15. supported lvds 18-bit panel data mapping.................................................................34 table 16. GM2121 gpios and alternative functions .....................................................................41 table 17. bootstrap signals.............................................................................................................4 1 table 18. instruction byte map.......................................................................................................43 table 19. absolute maximum ratings............................................................................................46 table 20. dc characteristics...........................................................................................................47 table 21. maximum speed of operation ........................................................................................48 table 22. display timing and dclk adjustments........................................................................48 table 23. 2-wire host interface port timing .................................................................................48
GM2121 preliminary data sheet c2121-dat-01f 6 december 2002 http://www.genesis-microchip.com list of figures figure 1. GM2121 system design example......................................................................................8 figure 2. GM2121 pin out diagram ...............................................................................................10 figure 3. GM2121 functional block diagram ................................................................................16 figure 4. using the internal oscillator with external crystal ........................................................17 figure 5. internal oscillator output................................................................................................18 figure 6. sources of parasitic capacitance.....................................................................................18 figure 7. using an external single-ended clock oscillator...........................................................19 figure 8. internally synthesized clocks .........................................................................................20 figure 9. on-chip clock domains..................................................................................................21 figure 10. correct power sequencing ..............................................................................................22 figure 11. example adc signal terminations................................................................................23 figure 12. GM2121 clock recovery .................................................................................................24 figure 13. adc capture window ....................................................................................................25 figure 14. some of GM2121 built-in test patterns ............................................................................26 figure 15. factory calibration and test environment .....................................................................26 figure 16. hsync delay.................................................................................................................27 figure 17. active data crosses hsync boundary .........................................................................27 figure 18. odd/even field detection...........................................................................................28 figure 19. realcolor tm digital color controls................................................................................29 figure 20. display windows and timing.........................................................................................32 figure 21. single pixel width display data.....................................................................................32 figure 22. double pixel wide display data ....................................................................................33 figure 23. panel power sequencing .................................................................................................33 figure 24. osd cell map.................................................................................................................35 figure 25. ocm full-custom and standalone configurations ........................................................37 figure 26. programming ocm in standa lone configuration...........................................................38 figure 27. programming the ocm in full-custom configuration ..................................................39 figure 28. 2-wire protocol data transfer ........................................................................................43 figure 29. 2-wire write operations (0x1x and 0x2x)......................................................................44 figure 30. 2-wire read operation (0x9x and 0xax) .......................................................................44 figure 31. external rom interface timing diagram ......................................................................49 figure 32. GM2121 160-pin pqfp mechanical drawing ................................................................51
GM2121 preliminary data sheet c2121-dat-01f 7 december 2002 http://www.genesis-microchip.com revision history document description date c2121-dat-01a ? initial release may 2002 c2121-dat-01b ? corrected pin out changes as follows: o figure 2, GM2121 pin out diagram (pin #102 to 116) o table 2, rclk pll pins o table 7, power & ground pins for adc sampling clock dds o table 8, power & ground pins for display clock dds o table10, avss_out_lv_e pin o table 6, one reserved pin and two reserved pin name change to vco_lv & vbufc jun 2002 c2121-dat-01c ? corrected pinout as follows: ? pins 88 to 97 changed from reserved to gpo [0..7] ? pins 38 and 39 changed to sti_tm1 and sti_tm2 ? table 3, added gpo [0..7] ? table 6, removed reserved pins 88 to 97 ? table 6, renamed pins 38 and 39 to sti_tm1 and sti_tm2 and added a clause that these pins must be tied to gnd. ? updated 4.14.4. with tclk_sel0, tclk_sel1 and ddc_port_sel information. these signals are new bootstrap configuration pins in GM2121 ? updated 4.14.5 with the newly added gpo?s [0..7] ? updated 4.15 with the new bootstrap configuration pins ? table 20, updated dc characteristics ? updated 4.14.4 and 4.15 with clarifications for the uart baud rates and ddc2bi pin selection options in standalone configuration ? changed pin names: o rvdd to rvdd_3.3 o cvdd to cvdd_2.5 o avdd_out_lv_e to avdd_out_lv_e_2.5 o avdd_lv_e_ to avdd_lv_e_2.5 o avdd_out_lv_o to avdd_out_lv_o_2.5 o avdd_lv_o to avdd_lv_o_2.5 o avdd_rpll to avdd_rpll_3.3 o vdd_dpll to vdd_dpll_3.3 o avdd_ddds to avdd_ddds_3.3 o vdd_ddds to vdd_ddds_3.3 o avdd_ssds to avdd_ssds_3.3 o vdd_ssds to vdd_ssds_3.3 o vdd2_adc to vdd2_adc_2.5 o vdd1_adc to vdd1_adc_2.5 o avdd_adc to avdd_adc_3.3 o avdd_blue to avdd_blue_3.3 o avdd_green to avdd_green_3.3 o avdd_red to avdd_red_3.3 aug 2002 c2121-dat-01d ? added section 4.2.2 ? correct power sequencing sep 2002 c2121-dat-01e ? added the following note to table 3 system interface/gpio signals gpio4/uart_di and gpio5/uart_do: add 10k pull-up to vdd_3.3 ? added note to table 17 bootstrap signal host_port_en (rom_addr8) ? added note to table 17 bootstrap signal ocm_rom_cnfg(1) (rom_addr14) ? updated table 17 bootstrap signal ddc_port_sel (rom_addr12) ? documentation fix: pin name change gpio16/hfs to gpio16/hfsn oct 2002 c2121-dat-01f ? added section 5.3 external rom interface timing requirements dec 2002
GM2121 preliminary data sheet c2121-dat-01f 8 december 2002 http://www.genesis-microchip.com 1 overview the GM2121 is a graphics processing ic for liquid crystal display (lcd) monitors at sxga resolution. it provides all key ic functions required for the hi ghest quality lcd monitors. on-chip functions include a high-speed triple-adc and pll, a high quality zoom and shrink scaling engine, an on-screen display (osd) controller, digital color controls, an on-chip micro-controller (ocm) and industry standard dual four channel lvds transmitter for direct connect to lc d panels with lvds interface. with this level of integration, the GM2121 devices simplify and reduce the cost of lcd monitors while maintaining a high- degree of flexibility and quality. 1.1 GM2121 system design example figure 1 below shows a typical dual interface lcd monitor system based on the GM2121. designs based on the GM2121 have reduced system cost, simplifie d hardware and firmware design and increased reliability because only a minimal number of components are required in the system. nvram analog rgb eeprom (o p tional) GM2121 lcd module back-light direct connect to lvds if panels figure 1. GM2121 system design example
GM2121 preliminary data sheet c2121-dat-01f 9 december 2002 http://www.genesis-microchip.com 1.2 GM2121 features features ? zoom (from vga) and shrink (from uxga) scaling ? integrated 8-bit triple-channel adc / pll ? embedded microcontroller with parallel rom interface ? on-chip versatile osd engine ? all system clocks synthesized from a single external crystal ? programmable gamma correction (clut) ? realcolor controls pr ovide srgb compliance ? pwm back light intensity control ? 5-volt tolerant inputs ? low emi and power saving features high-quality advanced scaling ? fully programmable zoom ratios ? high-quality shrink capability from uxga resolution ? real recovery ? function provides full color recovery image for refresh rates higher than those supported by the lcd panel analog rgb input port ? supports up to 162mhz (sxga 75hz / uxga 60hz) ? on-chip high-performance plls (only a single reference crystal required) auto-configuration / auto-detection ? automatic input format detection ? robust phase and image positioning realcolor ? technology ? digital brightness and contrast controls ? tv color controls includi ng hue and saturation controls ? flesh-tone adjustment ? full color matrix allows end-us ers to experience the same colors as viewed on crts and other displays (e.g. srgb compliance) on-chip osd controller ? on-chip ram for downloadable menus ? 1, 2 and 4-bit per pixel character cells ? horizontal and vertical stretch of osd menus ? blinking, transparency and blending built in test pattern generator on-chip microcontroller ? requires no external micro-controller ? external parallel rom interface allows firmware customization with little additional cost ? 21 general-purpose inputs/outputs (gpio's) and 8 general-purpose outputs (gpo?s) available for managing system devices (keypad, back-light, nvram, etc) ? industry-standard firmware embedded on- chip, requires no external rom (configuration settings stored in nvram) ? low power mode (,0.15w) when no inputs are active ? support for ddc2bi based in-system- programming of flash rom built in flexible lvds transmitter ? dual four channel 6/8- bit lvds transmitter (with high-quality dithering) ? programmable channel swapping ? programmable channel polarity ? support up to sxga 75hz output highly integrated system-on-a-chip reduces component count for highly cost effective solution stand-alone operation requires no external rom and no firmware development for fast time to market firmware compatible family of products : - gm2110/20 analog-interface xga/sxga - gm3110/gm3120 digital-interface xga/sxga - gm5110/gm5120 dual-interface xga/sxga
GM2121 preliminary data sheet c2121-dat-01f 10 december 2002 http://www.genesis-microchip.com 2 GM2121 pinout the GM2121 is available in a 160-pin plastic quad flat pack (pqfp) package. figure 2 provides the pin locations for all signals. pbias crvss cvdd_2.5 crvss vco_lv avdd_out_lv_e_2.5 avss_out_lv_e ch3p_lv_e ch3n_lv_e clkp_lv_e clkn_lv_e ch2p_lv_e ch2n_lv_e ch1p_lv_e ch1n_lv_e ch0p_lv_e ch0n_lv_e avss_out_lv_e avdd_out_lv_e_2.5 avss_lv_e avdd_lv_e_2.5 avss_out_lv_o avdd_out_lv_o_2.5 ch3p_lv_o ch3n_lv_o clkp_lv_o clkn_lv_o ch2p_lv_o ch2n_lv_o ch1p_lv_o ch1n_lv_o ch0p_lv_o ch0n_lv_o avdd_out_lv_o_2.5 avss_out_lv_o avss_lv_o avdd_lv_o_2.5 crvss cvdd_2.5 reserved rom_data5 rom_data4 rom_data3 rom_data2 rom_data1 rom_data0 rom_oen gpio22/hclk gpio16/hfsn gpio20/hdata3 gpio19/hdata2 gpio18/hdata1 gpio17/hdata0 rvdd_3.3 crvss gpio21/irqn resetn gpio15/ddc_scl gpio14/ddc_sda cvdd_2.5 crvss gpio8/irqinn gpio0/pwm0 gpio1/pwm1 gpio2/pwm2 gpio3/timer1 gpio4/uart_di gpio5/uart_do gpio6 rvdd_3.3 crvss gpio7 gpio9 gpio10 gpio11/rom_wen gpio12/nvram_sda gpio13/nvram_scl sti_tm1 sti_tm2 ppwr 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 gnd1_adc vdd1_adc_2.5 gnd2_adc vdd2_adc_2.5 vss_sdds vdd_sdds_3.3 avss_sdds avdd_sdds_3.3 vbufc vss_ddds vdd_ddds_3.3 avss_ddds avdd_ddds_3.3 vss_dpll vdd_dpll_3.3 avss_rpll avdd_rpll_3.3 xtal tclk hsync vsync crvss cvdd_2.5 gpo 7 gpo 6 gpo 5 gpo 4 gpo 3 gpo 2 crvss rvdd_3.3 gpo 1 gpo 0 reserved reserved reserved reserved reserved reserved reserved 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 rom_data6 rom_data7 crvss rvdd_3.3 rom_addr0 rom_addr1 rom_addr2 rom_addr3 rom_addr4 rom_addr5 rom_addr6 rom_addr7 rom_addr8 rom_addr9 rom_addr10 rom_addr11 crvss rvdd_3.3 rom_addr12 rom_addr13 rom_addr14 rom_addr15 cvdd_2.5 crvss avdd_red_3.3 red+ red- agnd_red avdd_green_3.3 green+ green- agnd_green avdd_blue_3.3 blue+ blue- agnd_blue avdd_adc_3.3 adc_test agnd_adc sgnd_adc GM2121 figure 2. GM2121 pin out diagram
GM2121 preliminary data sheet c2121-dat-01f 11 december 2002 http://www.genesis-microchip.com 3 GM2121pin list i/o legend: a = analog, i = input, o = output, p = power, g = ground table 1. analog input port pin name no. i/o description avdd_red_3.3 136 ap analog power (3.3v) for the red c hannel. must be bypassed with decoupling capacitor to agnd_red pin on system board (as close as possible to the pin). red+ 135 ai positive analog input for red channel. red- 134 ai negative analog input for red channel. agnd_red 133 ag analog ground for the red channel. must be directly connected to the system ground plane. avdd_green_3.3 132 ap analog power (3.3v) for the green c hannel. must be bypassed with decoupling capacitor to agnd_green pin on system board (as close as possible to the pin). green+ 131 ai positive analog input for green channel. green- 130 ai negative analog input for green channel. agnd_green 129 ag analog ground for the green channel. must be directly connected to the system ground plane. avdd_blue_3.3 128 ap analog power (3.3v) for the blue c hannel. must be bypassed with decoupling capacitor to agnd_blue pin on system board (as close as possible to the pin). blue+ 127 ai positive analog input for blue channel. blue- 126 ai negative analog input for blue channel. agnd_blue 125 ag analog ground for the blue channel. must be directly connected to the system ground plane. avdd_adc_3.3 124 ap analog power (3.3v) for adc analog blo cks that are shared by all three channels. includes band gap reference, master biasing and full- scale adjust. must be bypassed with decoupling capacitor to agnd_adc pin on system board (as close as possible to the pin). adc_test 123 ao analog test out put for adc do not connect. agnd_adc 122 ag analog ground for adc analog blocks that are shared by all three channels. includes band gap reference, master biasing and full-scale adjust. must be directly connect ed to system ground plane. sgnd_adc 121 ag dedicated pad for substrate guard ri ng that protects the a dc reference system. must be directly connected to the system ground plane. gnd1_adc 120 g digital gnd for adc clocking circuit. must be directly connected to the system ground plane vdd1_adc_2.5 119 p digital power (2.5v) for adc encoding logic. must be bypassed wi th decoupling capacitor to gnd1_adc pin on system board (as close as possible to the pin). gnd2_adc 118 g digital gnd for adc clocking circuit. must be directly connected to the system ground plane. vdd2_adc_2.5 117 p digital power (2.5v) for adc encoding logic. must be bypassed wi th decoupling capacitor to gnd2_adc pin on system board (as close as possible to the pin). hsync 101 i adc input horizontal sync input. [input, schmitt trigger (400mv ty pical hysteresis), 5v-tolerant] vsync 100 i adc input vertical sync input. [input, schmitt trigger (400mv ty pical hysteresis), 5v-tolerant] table 2. rclk pll pins pin name no i/o description avdd_rpll_3.3 104 ap analog power for the reference dds pll. connect to 3.3v supply. must be bypassed with a 0.1uf capacitor to pin avss_rpll (a s close to the pin as possible). avss_rpll 105 ag analog ground for the reference dds pll. must be directly connected to the system ground plane. tclk 102 ai reference clock (tclk) from the 20.0mhz crystal oscillator (see figure 4), or from single- ended cmos/ttl clock oscillator (see figure 7). th is is a 5v-tolerant input. see table 12. xtal 103 ao crystal oscillator output. vdd_dpll_3.3 106 p digital power for fclk and rclk plls. connect to 3.3v supply. vss_dpll 107 g digital ground for fclk and rclk plls.
GM2121 preliminary data sheet c2121-dat-01f 12 december 2002 http://www.genesis-microchip.com table 3. system interface and gpio signals pin name no i/o description resetn 17 i active-low hardware reset signal. the rese t signal must be held low for at least 1 s. [input, schmitt trigger (400mv ty pical hysteresis), 5v-tolerant] gpio0/pwm0 23 io general-purpose input/output signal or pwm0. open drain option via register setting. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio1/pwm1 24 io general-purpose input/output signal or pwm1. open drain option via register setting. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio2/pwm2 25 io general-purpose input/output signal or pwm2. open drain option via register setting. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio3/timer1 26 io general-purpose inpu t/output signal. open drain option via r egister setting. this pin is also connected to timer 1 clo ck input of the ocm. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio4/uart_di 27 io general-purpose input/output signal. open drain option via register setting. this pin is also connected to the ocm uart data input signal by programming an ocm register. add 10k pull-up to vdd_3.3. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio5/uart_do 28 io general-purpose inpu t/output signal. open drain option via r egister setting. this pin is also connected to the ocm uart data output signal by programming an ocm register. add 10k pull-up to vdd_3.3. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio6 29 io general-purpose input/output signal. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio7 32 io general-purpose input/output signal. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio8/irqinn 22 io general-purpose input/output signal. th is is also active-low interrupt input to ocm and is directly wired to ocm int_0n. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio9 33 io general-purpose input/output signal . open drain option via register setting. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio10 34 io general-purpose input/output signal . open drain option via register setting. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio11/rom_wen 35 io general-purpose input/output si gnal, or rom write enable if a programmable flash device is used. open drain opt ion via register setting. [bi-directional input, schmitt trigger ( 400mv typical hysteresis), 5v-tolerant] gpio12/nvram_sda gpio13/nvram_scl 36 37 io io general-purpose input/output signals, or 2-wire master serial interface to nvram in standalone mode. open drain option via register setting. [bi-directional input, schmitt trigger ( 400mv typical hysteresis), 5v-tolerant] gpio14/ddc_scl gpio15/ddc_sda 18 19 io general-purpose input/output signals, or 2-wi re master serial interface to nvram in standalone mode. open drain option via register setting. [bi-directional input, schmitt trigger ( 400mv typical hysteresis), 5v-tolerant] gpio16/hfsn 9 io general-purpose input/output signal w hen host port is disabled, or data signal for 2-wire serial host interface. [bi-directional, schmitt trigger (400mv typical hysteresis), sl ew rate limited, 5v tolerant] gpio17/hdata0 gpio18/hdata1 gpio19/hdata2 gpio20/hdata3 13 12 11 10 io io io io general-purpose input/output signals. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio21/irqn 16 io general-purpose input/output signal when host port is disabled, or active-low and open- drain interrupt output pin. [bi-directional, 5v-tolerant] gpio22/hclk 8 io general-purpose input/output signal when host port is disabled, or clock for 2-wire serial host interface. [bi-directional, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpo 0 88 o general-purpose output signal. gpo 1 89 o general-purpose output signal gpo 2 92 o general-purpose output signal gpo 3 93 o general-purpose output signal gpo 4 94 o general-purpose output signal gpo 5 95 o general-purpose output signal gpo 6 96 o general-purpose output signal gpo 7 97 o general-purpose output signal
GM2121 preliminary data sheet c2121-dat-01f 13 december 2002 http://www.genesis-microchip.com table 4. display output port pin name no i/o description pbias 41 o panel bias control (back light enable) [tri-state output, programmable drive] ppwr 40 o panel power control [tri-state output, programmable drive] ch3p_lv_e 48 o even lvds channel 3 positive ch3n_lv_e 49 o even lvds channel 3 negative clkp_lv_e 50 o even lvds clock positive clkn_lv_e 51 o even lvds clock negative ch2p_lv_e 52 o even lvds channel 2 positive ch2n_lv_e 53 o even lvds channel 2 negative ch1p_lv_e 54 o even lvds channel 1 positive ch1n_lv_e 55 o even lvds channel 1 negative ch0p_lv_e 56 o even lvds channel 0 positive ch0n_lv_e 57 o even lvds channel 0 negative ch3p_lv_o 64 o odd lvds channel 3 positive ch3n_lv_o 65 o odd lvds channel 3 negative clkp_lv_o 66 o odd lvds clock positive clkn_lv_o 67 o odd lvds clock negative ch2p_lv_o 68 o odd lvds channel 2 positive ch2n_lv_o 69 o odd lvds channel 2 negative ch1p_lv_o 70 o odd lvds channel 1 positive ch1n_lv_o 71 o odd lvds channel 1 negative ch0p_lv_o 72 o odd lvds channel 0 positive ch0n_lv_o 73 o odd lvds channel 0 negative table 5. parallel rom interface port pin name no i/o description rom_addr15 rom_addr14 rom_addr13 rom_addr12 rom_addr11 rom_addr10 rom_addr9 rom_addr8 rom_addr7 rom_addr6 rom_addr5 rom_addr4 rom_addr3 rom_addr2 rom_addr1 rom_addr0 139 140 141 142 145 146 147 148 149 150 151 152 153 154 155 156 io io io io io io io io io io io io io io io io rom address output. these pins also serve as 5v-tolerant bootstrap inputs on power up. rom_data7 rom_data6 rom_data5 rom_data4 rom_data3 rom_data2 rom_data1 rom_data0 159 160 1 2 3 4 5 6 i i i i i i i i 5v-tolerant external prom data input rom_oen 7 o external prom data output enable
GM2121 preliminary data sheet c2121-dat-01f 14 december 2002 http://www.genesis-microchip.com table 6. reserved pins pin name no i/o description reserved 80 o for test purpos es only. do not connect reserved 81 o for test purpos es only. do not connect reserved 82 o for test purpos es only. do not connect reserved 83 o for test purpos es only. do not connect reserved 84 o for test purpos es only. do not connect reserved 85 o for test purpos es only. do not connect reserved 86 o for test purpos es only. do not connect reserved 87 o for test purpos es only. do not connect vbufc 112 o for test purpos es only. do not connect vco_lv 45 o for test purpos es only. do not connect sti_tm1 38 i for test purposes only. must be tied to gnd sti_tm2 39 i for test purposes only. must be tied to gnd table 7. power and ground pins for adc sampling clock dds pin name no i/o description avdd_sdds_3.3 113 ap analog power for the source dds. connect to 3.3v supply. must be bypassed with a 0.1uf capacitor to avss_sdds pin (as close to the pin as possible). avss_sdds 114 ag analog ground for the source dds. must be directly connect ed to the system ground. vdd_sdds_3.3 115 p digital power for the source dds. connect to 3.3v supply. vss_sdds 116 g digital ground for the source dds. table 8. power and ground pins for display clock dds pin name no i/o description avdd_ddds_3.3 108 ap analog power for destination dds. connect to 3.3v supply. must be bypassed with a 0.1uf capacitor to avss_ddds pin (as close to the pin as possible). avss_ddds 109 ag analog ground for destination dds. must be directly connected to the system ground plane. vdd_ddds_3.3 110 p digital power for the destination dds. connect to 3.3v supply. vss_ddds 111 g digital ground for the destination dds.
GM2121 preliminary data sheet c2121-dat-01f 15 december 2002 http://www.genesis-microchip.com table 9. i/o power and ground pins pin name no i/o description rvdd_3.3 14 30 90 143 157 p p p p p connect to 3.3v digital supply. must be bypassed with a 0.1uf capacitor to crvss (as close to the pin as possible). crvss 15 21 31 42 44 78 91 99 137 144 158 g g g g g g g g g g g connect to digital ground. cvdd_2.5 20 43 79 98 138 p p p p p connect to 2.5v digital supply. must be bypassed with a 0.1uf capacitor to crvss (as close to the pin as possible). note, ?ap? indicates a power supply that is analog in nature and does not have large switching currents. these should be isolated from other digital supp lies that do have large switching currents. table 10. power and ground pins for lvds transmitter pin name no i/o description avdd_out_lv_e_ 2.5 46 59 ap analog power for on-chip lvds output buffer. connect to 2.5v supply. avdd_lv_e_2.5 61 ap analog power for on-chip lvds transmitter. connect to 2.5v supply avss_out_lv_e 47 58 g analog ground for on-chip lvds output buffer. must be directly connected to the system ground plane avss_lv_e 60 g analog ground for on-chip lvds transmitter. must be directly connected to the system ground plane avdd_out_lv_o_ 2.5 63 74 ap analog power for on-chip lvds output buffer. connect to 2.5v supply. avdd_lv_o_2.5 77 ap analog power for on-chip lv ds transmitter. connect to 2.5v supply. avss_out_lv_o 62 75 g analog ground for on-chip lvds output buffer. must be directly connected to the system ground plane. avss_lv_o 76 g analog ground for on-chip lvds transmitter. must be directly connected to the system ground plane.
GM2121 preliminary data sheet c2121-dat-01f 16 december 2002 http://www.genesis-microchip.com 4 functional description a functional block diagram is illustrated below. each of the functional units shown is described in the following sections. panel data and control serial host i/f gpio analog rgb triple adc parallel rom if 8051-style micro- controller external rom i/f image capture / measure- ment brightness / contrast / hue / sat / realcolor / moire zoom / shrink / filter crystal reference clock generation internal rom mcu ram osd controller osd rams gamma control nvram serial i/f host interface output data path dual lvds transmitter figure 3. GM2121 functional block diagram 4.1 clock generation the GM2121 features two clock inputs. all additional cloc ks are internal clocks derived from one or more of these: 1. crystal input clock (tclk and xtal). this is th e input pair to an internal crystal oscillator and corresponding logic. a 20.0 mhz crystal is recommende d. other crystal frequencies may be used, but require custom programming. this is illustrated in figure 4 below. alternatively, a single-ended ttl/cmos clock oscillator can be driven into the tclk pin (leave xtal as n/c in this case). this is illustrated in figure 7 below. this option is selected by connecting a 10k ? pull-up to rom_addr13 (refer to table 17). see also table 12. 2. host interface transfer clock (hclk) the GM2121 tclk oscillator circuitry is a custom d esigned circuit to support the use of an external oscillator or a crystal resonator to generate a reference frequency source for the GM2121 device.
GM2121 preliminary data sheet c2121-dat-01f 17 december 2002 http://www.genesis-microchip.com 4.1.1 using the internal oscillator with external crystal the first option for providing a clock reference is to u se the internal oscillator w ith an external crystal. the oscillator circuit is designed to provide a very low jitter and very low harmonic clock to the internal circuitry of the GM2121. an automatic gain control ( agc) is used to insure startup and operation over a wide range of conditions. the oscillator circuit also minimizes the overdrive of the crystal, which reduces the aging of the crystal. when the GM2121 is in reset, the state of the rom_addr13 pin is sampled. if the pin is left unconnected (internal pull-down) then internal oscillator is enabled. in this mode a crystal resonator is connected between tclk and the xtal with the appropriately sized loading capacitors c l1 and c l2 . the size of c l1 and c l2 are determined from the crystal manufacturer?s specification and by compensating for the parasitic capacitance of the GM2121 device and the printed circuit board traces. the loading capacitors are terminated to the analog vdd power supply. this connection increases the power supply rejection ratio when compared to terminati ng the loading capacitors to ground. reset state logic n/c xtal tclk osc_out tclk distribution internal pull down resistor ~ 60k GM2121 102 103 141 vdd 180 ua 100 k cl1 cl2 internal oscillator e nable vdda vdda rom_addr13 figure 4. using the internal oscillator with external crystal the tclk oscillator uses a pierce oscillator circuit. th e output of the oscillator circuit, measured at the tclk pin, is an approximate sine wave with a bias of about 2 volts above ground (see figure 5). the peak-to-peak voltage of the output can range from 250 mv to 1000 mv depending on the specific characteristics of the crystal and variation in the osc illator characteristics. the output of the oscillator is connected to a comparator that converts the sine wave to a square wave. the comparator requires a
GM2121 preliminary data sheet c2121-dat-01f 18 december 2002 http://www.genesis-microchip.com minimum signal level of about 50-mv peak to peak to function correctly. the output of the comparator is buffered and then distributed to the GM2121 circuits. ~ 2 volts 3.3 volts 250 mv peak to peak to 1000 mv peak to peak time figure 5. internal oscillator output one of the design parameters that must be given some consideration is the value of the loading capacitors used with the crystal as shown in figure 6. the loading capacitance (c load ) on the crystal is the combination of c l1 and c l2 and is calculated by c load = ((c l1 * c l2 ) / (c l1 + c l2 )) + c shunt . the shunt capacitance c shunt is the effective capacitance between the xt al and tclk pins. for the GM2121 this is approximately 9 pf. c l1 and c l2 are a parallel combination of the external loading capacitors (c ex ), the pcb board capacitance (c pcb ), the pin capacitance (c pin ), the pad capacitance (c pad ), and the esd protection capacitance (c esd ). the capacitances are symmetrical so that c l1 = c l2 = c ex + c pcb + c pin + c pad + c esd . the correct value of c ex must be calculated based on the values of the load capacitances. approximate values are provided in figure 6. xtal tclk GM2121 102 103 cex1 cex2 internal oscillator cpcb cshunt cpcb cpin cpad cesd cpin cpad cesd vdda vdda cl1 = cex1 + cpcb + cpin + cpad + cesd cl2 = cex1 + cpcb + cpin + cpad + cesd a pproximate values: c pcb ~ 2 pf to 10 pf (layout dependent) c pin ~ 1.1 pf c pad ~ 1 pf c esd ~ 5.3 pf c shunt ~ 9 pf figure 6. sources of parasitic capacitance
GM2121 preliminary data sheet c2121-dat-01f 19 december 2002 http://www.genesis-microchip.com some attention must be given to the details of the o scillator circuit when used with a crystal resonator. the pcb traces should be as short as possible. the value of c load that is specified by the manufacturer should not be exceeded because of potential start up probl ems with the oscillator. additionally, the crystal should be a parallel resonate-cut a nd the value of the equivalent series resistance must be less then 90 ohms. 4.1.2 using an external clock oscillator another option for providing the reference clock is to use a single-ended external clock oscillator. when the GM2121 is in reset, the state of the rom_addr13 is sampled. if rom_addr13 is pulled high by connecting to vdd through a pull-up resistor (10k ? recommended, 15k ? maximum) then external oscillator mode is enabled. in this mode the inte rnal oscillator circuit is disabled and the external oscillator signal that is connected to the tclk pin is r outed to an internal clock buffer. this is illustrated in figure 7. vdd gnd oscillator internal oscillator reset state logic rom_addr13 xtal tclk 14 to 24 mhz vdd osc_out tclk distribution internal pull down resistor ~ 60 k disable GM2121 102 103 141 external oscillator e nable 10 k vdd figure 7. using an external single-ended clock oscillator table 11. tclk specification frequency 14 to 24 mhz jitter tolerance 250 ps rise time (10% to 90%) 5 ns maximum duty cycle 40-60
GM2121 preliminary data sheet c2121-dat-01f 20 december 2002 http://www.genesis-microchip.com 4.1.3 clock synthesis the GM2121 synthesizes all additional clocks internally as illustrated in figure 8 below. the synthesized clocks are as follows: 1. main timing clock (tclk) is the output of the chip internal crystal oscillator. tclk is derived from the tclk/xtal pad input. 2. reference clock (rclk) synthesized by rclk pll (rpll) using tclk as the reference. 3. input source clock (sclk) synthesized by source dds (sdds) pll using input hsync as the reference. the sdds internal digital logic is driven by rclk. 4. display clock (dclk) synthesized by destination dds (ddds) pll using ip_clk as the reference. the ddds internal digital logic is driven by rclk. 5. half reference clock (rclk/2) is the rclk (see 2, above) divided by 2. used as ocm_clk domain driver. 6. quarter reference clock (rclk/4) is the rclk (see 2, above) divided by 4. used as alternative clock (faster than tclk) to drive ifm. 7. adc output clock (sense_aclk) is a delay-ad justed adc sampling clock, aclk. aclk is derived from sclk. rclk pll sdds ddds /2 /4 sclk dclk rclk/2 rclk/4 hsync ip_clk tclk figure 8. internally synthesized clocks the on-chip clock domains are selected from the synt hesized clocks as shown in figure 9 below. these include: 1. input domain clock (ip_clk). max = 165mhz 2. host interface and on-chip microcont roller clock (ocm_clk). max = 100mhz 3. filter and display pixel clock (dp_clk). max = 135mhz 4. source timing measurement domain clock (ifm_clk). max = 50mhz
GM2121 preliminary data sheet c2121-dat-01f 21 december 2002 http://www.genesis-microchip.com 5. adc domain clock (aclk). max = 165mhz. the clock selection for each domain as shown in the figure below is controlled using the clock_config registers (index 0x03 and 0x04). sclk sense_aclk ip_clk dclk ip_clk dp_clk sclk aclk ocm_clk rclk/2 tclk ifm_clk tclk rclk/4 figure 9. on-chip clock domains 4.2 chip initialization 4.2.1 hardware reset hardware reset is performed by holding the resetn pin low for a minimum of 1 s. a tclk input (see clock options above) must be applie d during and after the reset. when the reset period is complete and resetn is de-asserted, the power-up sequence is as follows: 1. reset all registers of all types to their defau lt state (this is 00h unless otherwise specified in the GM2121 register listing). 2. force each clock domain into reset. reset will remain asserted for 64 local clock domain cycles following the de-assertion of resetn. 3. operate the ocm_clk domain at the tclk frequency. 4. preset the rclk pll to output ~200mhz clock (assumes 20.0mhz tclk crystal frequency). 5. wait for rclk pll to lock. then, switch the ocm_clk domain to operate from the bootstrap selected clock. 6. if a pull-up resistor is installed on rom_addr9 pin (see table 17), then the ocm becomes active as soon as ocm_clk is stable. otherwise, th e ocm remains in reset until ocm_control register (0x22) bit 1 is enabled.
GM2121 preliminary data sheet c2121-dat-01f 22 december 2002 http://www.genesis-microchip.com 4.2.2 correct power sequencing the system designer must ensure that the 2.5v cvdd and 3.3v rvdd power supply rails power up in the correct sequence. that is, at any time during th e power-up sequence the actual voltage of the 3.3v rvdd power supply should always be equal to or higher than the actual voltage of the 2.5v cvdd power supply. in mathematical terms, v rvdd >= v cvdd at all times. this is illustrated in figure 10. in addition, the system designer must ensure that the 2.5v core vdd supply must be active for at least 1ms before the rising edge of the chip resetn si gnal during the chip power-up sequence. the rising edge of resetn signal is used to latch the bootstrap configurations, so its correct timing relationship to the core vdd is critical for correct chip operation. rvdd (3.3v) cvdd (2.5v) time voltage v rvdd-cvdd (t) resetn time voltage 0v t cvdd->resetn t figure 10. correct power sequencing parameter min typ max v rvdd-cvdd (for all t>0) 0v t cvdd->resetn 1ms 4.3 analog to digital converter the GM2121 chip has three adc?s (analog-to-digital converters), one for each color (red, green, and blue).
GM2121 preliminary data sheet c2121-dat-01f 23 december 2002 http://www.genesis-microchip.com 4.3.1 adc pin connection the analog rgb signals are connected to the GM2121 as described below: table 12. pin connection for rgb input with hsync/vsync pin name adc signal name red+ red red- terminate as illustrated in figure 11 green+ green green- terminate as illustrated in figure 11 blue+ blue blue- terminate as illustrated in figure 11 hsync horizontal sync (terminat e as illustrated in figure 11) vsync vertical sync (terminate as with hsync illustrated in figure 11) 20 ? 0.01uf red + GM2121 75 ? db15 red gnd 57.6 ? 0.01uf red - hs hsync figure 11. example adc signal terminations please note that it is very important to follow the r ecommended layout guidelines for the circuit shown in figure 11. these are described in "gm5115 layout guidelines" document number c5115-slg-01a. 4.3.2 adc characteristics the table below summarizes the characteristics of the adc:
GM2121 preliminary data sheet c2121-dat-01f 24 december 2002 http://www.genesis-microchip.com table 13. adc characteristics min typ max note track & hold amp bandwidth 290 mhz guaranteed by design. note that the track & hold amp bandwidth is programmable. 290 mhz is the maximum setting. full scale adjust range at rgb inputs 0.55 v 0.90 v full scale adjust sensitivity +/- 1 lsb measured at adc output. independent of full scale rgb input. zero scale adjust sensitivity +/- 1 lsb measured at adc output. sampling frequency (fs) 10 mhz 162.5 mhz differential non-linearity (dnl) +/-0.5 lsb +/-0.9 lsb fs = 135 mhz no missing codes guaranteed by test. integral non-linearity (inl) +/- 1.5 lsb fs =135 mhz channel to channel matching +/- 0.5 lsb note that input formats with resolutions or refresh rates higher than that supported by the lcd panel are supported as recovery modes only. this is called r ealrecovery?. for example, it may be necessary to shrink the image. this may introduce image artifacts. however, the image is clear enough to allow the user to change the display properties. the GM2121 adc has a built in clamp circuit for ac -coupled inputs. by inserting series capacitors (about 10 nf), the dc offset of an external vide o source can be removed. the clamp pulse position and width are programmable. 4.3.3 clock recovery circuit the sdds (source direct digital synthesis) clock r ecovery circuit generates the clock used to sample analog rgb data (ip_clk or source clock). this ci rcuit is locked to hsync of the incoming video signal. patented digital clock synthesis technology makes the GM2121 clock circuits resistant to temperature/voltage drift. using dds (direct digita l synthesis) technology, the clock recovery circuit can generate any ip_clk clock frequency within the range of 10mhz to 165mhz. window capture sdds adc r g b ipclk hsync hsync (delayed) 24 phase image phase measurement figure 12. GM2121 clock recovery
GM2121 preliminary data sheet c2121-dat-01f 25 december 2002 http://www.genesis-microchip.com 4.3.4 sampling phase adjustment the programmable adc sampling phase is adjusted by delaying the hsync input to the sdds. the accuracy of the sampling phase is checked and the r esult read from a register. this feature enables accurate auto-adjustment of the adc sampling phase. 4.3.5 adc capture window figure 13 below illustrates the capture window used fo r the adc input. in the horizontal direction the capture window is defined in ip_clks (equivalent to a pi xel count). in the vertical direction it is defined in lines. all the parameters beginning with ?source? are progra mmed GM2121 registers values. note that the input vertical total is solely determined by th e input and is not a programmable parameter. capture window source width source hstart source horizontal total (pixels) source vstart source height input vertical total (lines) reference point figure 13. adc capture window the reference point marks the leading edge of the fi rst internal hsync following the leading edge of an internal vsync. both the internal hsync and th e internal vsync are derived from external hsync and vsync inputs. horizontal parameters are defined in terms of single pixel increments relative to the internal horizontal sync. vertical parameters are defined in terms of si ngle line increments relative to the internal vertical sync. for adc interlaced inputs, the GM2121 may be programmed to automatically determine the field type (even or odd) from the vsync/hsync relative timing. see input format measurement, section 4.4.
GM2121 preliminary data sheet c2121-dat-01f 26 december 2002 http://www.genesis-microchip.com 4.4 test pattern generator (tpg) the GM2121 contains hundreds of test patterns, some of which are shown in figure 14. once programmed, the GM2121 test pattern generator can replace a video source (e.g. a pc) during factory calibration and test. this simplifies the test proce dure and eliminates the possibility of image noise being injected into the system from the source. the fo reground and background colors are programmable. in addition, the GM2121 osd controller can be used to produce other patterns. figure 14. some of GM2121 built-in test patterns the ddc2bi port can be used for factory testing. the factory test station connects to the GM2121 through the direct data channel (ddc) of the dsub15 connector. then, the pc can make GM2121 display test patterns (see section 4.4). a camera can be used to automate the calibration of the lcd panel. factor y test station device-under-test camera ddc figure 15. factory calibration and test environment 4.5 input format measurement the GM2121 has an input format measurement block (the ifm) providing the capability of measuring the horizontal and vertical timing parameters of the input video source. this information may be used to determine the video format and to detect a change in th e input format. it is also capable of detecting the field type of interlaced formats. the ifm features a programmable reset, separate from th e regular GM2121 soft reset. this reset disables the ifm, reducing power consumption. the ifm is capable of operating while GM2121 is running in power down mode. horizontal measurements are measured in terms of the selected ifm_clk (either tclk or rclk/4), while vertical measurements are measured in terms of hsync pulses.
GM2121 preliminary data sheet c2121-dat-01f 27 december 2002 http://www.genesis-microchip.com for an overview of the internally synthesized clocks, see section 4.1. 4.5.1 hsync / vsync delay the active input region captured by the GM2121 is sp ecified with respect to internal hsync and vsync. by default, internal syncs are equivalent to the hsync and vsync at the input pins and thus force the captured region to be bounded by external hsync and vsync timing. however, the GM2121 provides an internal hsync and vsync delay featur e that removes this limitation. this feature is available for use with the adc input. by delaying th e sync internally, the GM2121 can capture data that spans across the sync pulse. it is possible to use hsnyc and vsync delay for image positioning. (alternatively, source_hstart and source_vstart in figure 13 are used for image positioning of analog input.) taken to an extreme, the intentional movement of images across apparent hsync and vsync boundaries creates a horizontal and/or vertical wrap effect. hsync is delayed by a programmed number of selected input clocks. hs(system) active active capture hs(internal) capture capture programmable delay input block actually captures across hsync figure 16. hsync delay delayed horizontal sync may be used to solve a potential problem with vsync jitter with respect to hsync. vsync and hsync are generally driven active coincidentally, but with different paths to the GM2121 (hsync is often regenerated from a pll). as a result, vsync may be seen earlier or later. because vsync is used to reset the line counter and hsync is used to increment it, any difference in the relative position of hsync and vsync is seen on-screen as vertical jitter. by delaying the hsync a small amount, it can be ensured that vsync always resets the line counter prior to it being incremented by the ?first? hsync. delayed hs placed safely within blanking active data crosses hs boundary data hs (system) internal delayed hs figure 17. active data crosses hsync boundary
GM2121 preliminary data sheet c2121-dat-01f 28 december 2002 http://www.genesis-microchip.com 4.5.2 horizontal and vertical measurement the ifm is able to measure the horizontal period and active high pulse width of the hsync signal, in terms of the selected clock period (either tclk or rclk/4.). horizontal measurements are performed on only a single line per frame (or field). the line used is programmable. it is able to measure the vertical period and vsync pulse width in terms of rising edges of hsync. once enabled, measurement begins on the rising vsync and is completed on the following rising vsync. measurements are made on every field / frame until disabled. 4.5.3 format change detection the ifm is able to detect changes in the input format relative to the last measurement and then alert both the system and the on-chip microcontroller. the mi crocontroller sets a measurement difference threshold separately for horizontal and vertical timing. if the current field / frame timing is different from the previously captured measurement by an amount exceeding this threshold, a status bit is set. an interrupt can also be programmed to occur. 4.5.4 watchdog the watchdog monitors input vsync / hsync. when any hsync period exceeds the programmed timing threshold (in terms of the selected ifm_clk), a register bit is set. when any vsync period exceeds the programmed timing threshold (in terms of hsync pulses), a second register bit is set. an interrupt can also be programmed to occur. 4.5.5 internal odd/even field detection (for interlaced inputs to adc only) the ifm has the ability to perform field decoding of interlaced inputs to the adc. the user specifies start and end values to outline a ?window? relative to hsync. if the vsync leading edge occurs within this window, the ifm signals the start of an odd field. if the vsync leading edge occurs outside this window, an even field is indicated (the interpreta tion of odd and even can be reversed). the window start and end points are selected from a predefined set of values. hs window vs - even vs - odd window start window end figure 18. odd/even field detection
GM2121 preliminary data sheet c2121-dat-01f 29 december 2002 http://www.genesis-microchip.com 4.5.6 input pixel measurement the GM2121 provides a number of pixel measurement func tions intended to assist in configuring system parameters such as pixel clock, sdds sample clocks per line and phase setting, centering the image, or adjusting the contrast and brightness. 4.5.7 image phase measurement this function measures the sampling phase quality over a selected active window region. this feature may be used when programming the source dds to select the proper phase setting. please refer to the GM2121 programming guide for the optimized algorithm. 4.5.8 image boundary detection the GM2121 performs measurements to determine the image boundary. this information is used when programming the active window and centering the image. 4.5.9 image auto balance the GM2121 performs measurements on the input data that is used to adjust brightness and contrast. 4.6 realcolor tm digital color controls the GM2121 provides high-quality digital color controls . these consist of a subtractive "black level" stage, followed by a full 3x3 rgb matrix multiplication stage, followed by a signed offset stage as shown in figure 19. subtractive offset (black level) 3x3 color conversion a dditive offset (brightness) +/ - - - - +/ - +/ - x red in green in blue in red out green out blue out figure 19. realcolor tm digital color controls this structure can accommodate all rgb color controls such as black-level (subtractive stage), contrast (multiplicative stage), and brightness (signed additiv e offset). in addition, it supports all yuv color controls including brightness (additive factor applied to y), contrast (multiplicative factor applied to y), hue (rotation of u and v through an angle) and satura tion (multiplicative factor applied to both y and v). to provide the highest color purity all mathematical functions use 10 bits of accuracy. the final result is then dithered to eight or six bits (as required by the lcd panel).
GM2121 preliminary data sheet c2121-dat-01f 30 december 2002 http://www.genesis-microchip.com 4.6.1 realcolor? flesh tone adjustment the human eye is more sensitive to variations of flesh tones than other colors; for example, the user may not care if the color of grass is modified slightly dur ing image capture and/or display. however, if skin tones are modified by even a small amount, it is unacceptable. the GM2121 features flesh tone adjustment capabilities. this feature is not based on lookup tables, but rather a manipulation of yuv-channel parameters. flesh tone adju stment is available for all inputs. 4.6.2 color standardization and srgb support internet shoppers may be very picky about wh at color they experience on the display. GM2121 realcolor tm digital color controls can be used to make the color response of an lcd monitor compliant with standard color definitions, such as srgb. srgb is a standard for color exchange proposed by microsoft and hp (see www.srgb.com) . GM2121 realcolor controls can be used to make lcd monitors srgb compliant, even if the native response of the lcd panel itself is not. 4.7 high-quality scaling the GM2121 zoom scaler uses an adaptive scaling techni que proprietary to genesis microchip inc., and provides high quality scaling of real time video and graphics images. an input field/frame is scalable in both the vertical and horizontal dimensions. interlaced fields may be spatially de-interlaced by vertically scaling and repositioning the input fields to align with the output display?s pixel map. 4.7.1 variable zoom scaling the GM2121 scaling filter can combine its advanced scali ng with a pixel-replication type scaling function. this is useful for improving the sharpness and defin ition of graphics when scaling at high zoom factors (such as vga to sxga). 4.7.2 horizontal and vertical shrink the GM2121 provides an arbitrary horizontal and ver tical shrink down to (50% + 1 pixel/line) of the original image size. this allows the GM2121 to cap ture and display images one vesa standard format larger than the native display resolution. for example, uxga may be captured and displayed on an sxga panel. 4.8 bypass options the GM2121 has the capability to completely bypass in ternal processing. in this case, captured input signals and data are passed, with a small register latency, straight through to the display output. the GM2121 is also able to bypass the zoom filter.
GM2121 preliminary data sheet c2121-dat-01f 31 december 2002 http://www.genesis-microchip.com 4.9 gamma lut the GM2121 provides an 8 to 10-bit look-up table (lut) for each input color channel intended for gamma correction and to compensate for a non-linear r esponse of the lcd panel. a 10-bit output results in an improved color depth control. the 10-bit output is then dithered down to 8 bits (or 6 bits) per channel at the display (see section 4.10.3 below). the lut is user programmable to provide an arbitrary transfer function. gamma correction occurs after the zoom / shrink scaling block. the lut has bypass enable. if bypassed, the lut does not require programming. 4.10 display output interface the display output port provides data and control si gnals that permit the GM2121 to connect to a variety of flat panel or crt devices. the output interface is configurable for 18 or 24-bit rgb pixels, either single or double pixel wide. all display data and tim ing signals are synchronous with the dclk output clock. 4.10.1 display synchronization refer to section 4.1 for information regarding internal clock synthesis. the GM2121 supports the following display synchronization modes: frame sync mode: the display frame rate is synchroniz ed to the input frame or field rate. this mode is used for standard operation. free run mode: no synchronization. this mode is us ed when there is no valid input timing (i.e. to display osd messages or a splash scr een) or for testing purposes. in free-run mode, the display timing is determined only by the va lues programmed into the display window and timing registers. 4.10.2 programming the display timing display timing signals provide timing information so th e display port can be connected to an external display device. based on values programmed in re gisters, the display output port produces the horizontal sync (dhs), vertical sync (dvs), and data enable (den) control signals, which are then encoded into the lvds data stream by the on-ch ip lvds transmitter. the figure below provides the registers that define the output display timing. horizontal values are programmed in single pixel increm ents relative to the leading edge of the horizontal sync signal. vertical values are programmed in line incr ements relative to the leading edge of the vertical sync signal.
GM2121 preliminary data sheet c2121-dat-01f 32 december 2002 http://www.genesis-microchip.com display active window display background window vertical blanking (back porch) vsync region horizontal blanking (back porch) hsync region dv_vs_end den ** dhs dv_bkgnd_start dv_active_start dv_active_length dvs dv_bkgnd_end dv_total dh_hs_end dh_bkgnd_start dh_bkgnd_end dh_total dh_active_start dh_active_width vertical blanking (front porch) horizontal blanking (front porch) ** den is not asserted during vertical blanking figure 20. display windows and timing the double-wide output only supports an ev en number of horizontal pixels. dclk (output) den (output) xxx or/og/ob (output) rgb0 rgb4 rgb3 rgb2 rgb1 er/eg/eb (output) xxx figure 21. single pixel width display data
GM2121 preliminary data sheet c2121-dat-01f 33 december 2002 http://www.genesis-microchip.com dclk (output) den (output) or/og/ob (output) rgb0 rgb8 rgb6 rgb4 rgb2 er/eg/eb (output) xxx rgb1 rgb9 rgb7 rgb5 rgb3 xxx figure 22. double pixel wide display data 4.10.3 panel power sequencing (ppwr, pbias) GM2121 has two dedicated outputs ppwr and pbias to control lcd power sequencing once data and control signals are stable. the timing of these signals is fully programmable. ppwr output panel data and control signals pbias output tmg1 tmg2 tmg2 tmg1 power_seq_en = 1 power_seq_en = 0 figure 23. panel power sequencing 4.10.4 output dithering the gamma lut outputs a 10-bit value for each color cha nnel. this value is dithered down to either 8- bits for 24-bit per pixel panels, or 6-bits for 18-bit per pixel panels. the benefit of dithering is that the eye tends to average neighboring pixels and a smooth image free of contours is perceived. dithering works by spreadi ng the quantization error ove r neighboring pixels both spatially and temporally. two dithering algorithms ar e available: random or ordered dithering. ordered dithering is recommended when driving a 6-bit panel. all gray scales are available on the panel output whethe r using 8-bit panel (dithering from 10 to 8 bits per pixel) or using 6-bit panel (ditheri ng from 10 down to 6 bits per pixel).
GM2121 preliminary data sheet c2121-dat-01f 34 december 2002 http://www.genesis-microchip.com 4.11 dual four channel lvds transmitter the GM2121 implements the industry standard flexible four channel dual lvds transmitter. the lvds transmitter can support the following: ? single or double pixel mode ? 24/48-bit panel mapping to the lvds channels (see table 14) ? 18/36-bit panel mapping to the lvds channels (see table 15) ? programmable even/odd lvds swapping ? programmable channel swapping (the clocks are fixed) ? programmable channel polarity swapping ? support up to sxga 75hz output table 14. supported lvds 24-bit panel data mapping channel 0 r0, r1, r2, r3, r4, r5, g0 channel 1 g1, g2, g3 , g4, g5, b0, b1 channel 2 b2, b3, b4, b5, phs, pvs, pde channel 3 r6, r7, g6, g7, b6, b7, res channel 0 r2, r3, r4, r5, r6, r7, g2 channel 1 g3, g4, g5 , g6, g7, b2, b3 channel 2 b4, b5, b6, b7, phs, pvs, pde channel 3 r0, r1, g0, g1, b0, b1, res table 15. supported lvds 18-bit panel data mapping channel 0 r0, r1, r2, r3, r4, r5, g0 channel 1 g1, g2, g3 , g4, g5, b0, b1 channel 2 b2, b3, b4, b5, phs, pvs, pde channel 3 disabled for this mode 4.12 energy spectrum management (esm) high spikes in the emi power spectrum may cause lcd m onitor products to violate emissions standards. the GM2121 has many features that can be used to reduce electromagnetic interference (emi). these include drive strength control, dual-edge clocking a nd clock spectrum modulation. these features help to eliminate the costs associated with em i reducing components and shielding. 4.13 osd the GM2121 has a fully programmable, high-quality osd controller. the graphics are divided into ?cells? 12 by 18 pixels in size. the cells are stored in an on-chip static ram (4096 words by 24 bits) and can be
GM2121 preliminary data sheet c2121-dat-01f 35 december 2002 http://www.genesis-microchip.com stored as 1-bit per pixel data, 2-bit per pixel data or 4-bit per pixel data. this permits a good compression ratio while allowing more than 16 colors in the image. some general features of the GM2121 osd controller include: osd position ? the osd menu can be positioned anywhere on th e display region. the reference point is horizontal and vertical display background start (dh_bkgnd_start and dv_bkgnd_start in figure 20). osd stretch ? the osd image can be stretched horizontally and/ or vertically by a factor of two, three, or four. pixel and line replication is used to stretch the image. osd blending ? sixteen levels of blending are supported for the character-mapped and bitmapped images. one host register controls the blend levels for pixels with lut values of 128 and greater, while another host register controls the blend levels for pixels with lut values of 127 and lower. osd color lut value 0 is reserved for transparency and is unaffected by the blend attribute. 4.13.1 on-chip osd sram the on-chip static ram (4096 words by 24 bits ) stores the cell map and the cell definitions. in memory, the cell map is organized as an array of words, each defining the attributes of one visible character on the screen starting from upper left of th e visible character array. these attributes specify which character to display, whether it is stored as 1, 2 or 4 bits per pixel, the foreground and background colors, blinking, etc. registers cellmap_xsz and cellmap_ysz are used to define the visible area of the osd image. for example, figure 24 shows a cell map for which cellmap_xsz =25 and cellmap_ysz =10. cellmap_ys z cellmap_xsz address 1: cell attributes for upper-left hand cell address 25: attributes for upper-right hand cell address26: cell attributes for 1 st cell, 2 nd row brightness contrast figure 24. osd cell map cell definitions are stored as bit map data. on-chip registers point to the start of 1-bit per pixel definitions, 2-bit per pixel definitions and 4-bit per pixel definitions resp ectively. 1, 2 and 4-bit per pixel cell definitions require 9, 18 and 36 words of the osd ram respectively.
GM2121 preliminary data sheet c2121-dat-01f 36 december 2002 http://www.genesis-microchip.com note that the cell map and the cell definitions share the same on-chip ram. thus, the size of the cell map can be traded off against the number of different cell definitions. in particular, the size of the osd image and the number of cell definitions must fit in os d sram. that is, the following inequality must be satisfied. (note, the round operation rounds 3.5 to 4). (cellmap_xsz+1) * cellmap_ysz + 18 * round(number of 1-bit per pixel fonts / 2) + 18 * (number of 2-bit per pixel fonts) + 36 * (number of 4-bit per pixel fonts) <= 4096 for example, an osd menu 360 pixels wide by 360 pixels high is 30 cells in width and 20 cells in height. many of these cells would be the same (e.g. empty). in this case, the menu could contain more than 32 1- bit per pixel cells, 100 2-bit per pixe l cells, and 16 4-bit per pixel cells. of course, different numbers of each type can also be used. 4.13.2 color look-up table (lut) each pixel of a displayed cell is resolved to an 8-bit color code. this selected color code is then transformed to a 24-bit value using a 256 x 24-bit look up table. this lut is stored in an on-chip ram that is separate from the osd ram. color index value 0x00 is reserved for transparent osd pixels. 4.14 on-chip microcontroller (ocm) the GM2121 on-chip microcontroller (ocm) serves as the system microcontroller. it programs the GM2121 and manages other devices in the system such as the keypad, the back light and non-volatile ram (nvram) using general-purpose input/output (gpio) pins. the ocm can operate in two configur ations, standalone conf iguration and full-custom configuration, as illustrated in figure 25.
GM2121 preliminary data sheet c2121-dat-01f 37 december 2002 http://www.genesis-microchip.com figure 1. ocm full-custom and standalone configurations b - full-custom configuration (program and data stored in external rom) nvram analog rgb input prom GM2121 output to lcd panel factory port ocm user settings in nvram : ? brightness/contrast settings, etc ? on mode-by-mode basis external rom : ? contains firmware code and data for all firmware functions a - standalone configuration (no external rom) configuration settings in nvram : ? osd colors, logo and other configuration ? panel parameters ? additional input modes ? code patches on-chip rom : ? auto mode detection ? auto-configuration ? standard high-quality osd menus ? factory test / calibration functions GM2121 output to lcd panel factory port ocm nvram rom analog rgb input figure 25. ocm full-custom and standalone configurations 4.14.1 standalone configuration standalone configuration offers the most simple and inexpensive system solution for generic lcd monitors. in this configuration the ocm executes fi rmware stored internally in GM2121. the baud rate for serial communication (in standalone configurati on) is determined by two bootstrap resistors on romaddr11 (tclk_sel1, pin 145) and romaddr10 (tclk_sel0, pin 146). the on-chip firmware provides all the standard functions requi red in a high-quality generic lcd monitor. this includes mode-detection, auto-configuration and a hi gh-quality standard osd menu system. no external rom is required (which reduces bom cost) and no fi rmware development effort is required (which reduces time-to-market). in standalone configuration many customization parameters are stored in nvram. these include the lcd panel timing parameters, the color scheme and l ogos used in the osd menus, the functions provided by the osd menus, and arbitrary firmware modifica tions. these customization parameters are described in the standalone user?s guide (b0108-sug-01). b ased on the customization parameters, g-wizard (a gui-based development tool used to program gen esis devices) produces the hex image file for nvram. g-probe is then used to download the nvram image f ile into the nvram device. this is illustrated in figure 26 below.
GM2121 preliminary data sheet c2121-dat-01f 38 december 2002 http://www.genesis-microchip.com lcd controller board GM2121 nvram ocm specify configurable parameters (see standalone users guide) nvram image file (.nvram_image. hex) g-probe g-wizard figure 26. programming ocm in standalone configuration 4.14.2 full-custom configuration in full-custom configuration the ocm executes a firmware program running from external rom. a parallel port with separate address and data busses is available for this purpose. this port connects directly to standard, commercially available rom or programmable flash rom devices. normally 64kb or 128kb of rom is required. both instructions and data are fetched from external rom on a cycle-by-cycle basis. the external rom access speed on the parallel port is determined by th e GM2121 internal ocm_clk, which is derived from the tclk. as a result, the external rom device?s access speed requirements are directly related to the tclk frequency. for the detailed timing requireme nts see section 5.3 ?external rom interface timing requirements?). to program GM2121 in full-custom configuration the content of the external rom is generated using genesis software development tools g-wizard and os d-workbench. this is illustrated in figure 27. g- wizard is a gui-based tool for capturing system inform ation such as panel timing, support modes, system configuration, etc. osd-workbench is a gui b ased tool for defining osd menus and functionality.
GM2121 preliminary data sheet c2121-dat-01f 39 december 2002 http://www.genesis-microchip.com lcd controller board GM2121 keil compiler rom ocm osd workbench GM2121 driver g-wizard GM2121 driver firmware source files (*.c *.h) external rom image file (.hex) rom programmer figure 27. programming the ocm in full-custom configuration genesis recommends using keil compiler ( http://www.keil.com/ ) to compile the firmware source code into a hex file. this hex file is then downloaded into the external rom using commercially available rom programmers. for development purposes it may be useful to use a rom emulator. for example, a promjet rom emulator can be used ( http://www.emutec.com/pjetmain.html) . 4.14.3 in-system-programming (isp) of flash rom devices GM2121 has hardware to program flash rom devices. in particular, the gpio11/rom_wen pin can be connected to the write enable of the flash rom. firmware is then used to perform the writes using the GM2121host registers. 4.14.4 uart interface the GM2121 ocm has an integrated universal asynchr onous remote terminal (uart) port that can be used as a factory debug port. in particular, the uart can be used to 1) read / write chip registers, 2) read / write to nvram, and 3) read / write to flash rom.
GM2121 preliminary data sheet c2121-dat-01f 40 december 2002 http://www.genesis-microchip.com the uart is connected to pins gpio4/uart_di and gpio5/uart_do. GM2121 has serial-to- parallel conversion hardware which is accessed by firmware. note: install 10k ? pull-ups on uart according to table 3. 4.14.5 ddc2bi interface the GM2121 also features hardware support for ddc 2bi communication over the ddc channel of the analog input ports. the specification for the ddc2bi standard can be obtained from vesa ( www.vesa.org) . the ddc2bi port can be used as a factory debug port or for field programming. in particular, the ddc2bi port can be used to 1) read / write chip registers (see section 4.15 below), 2) read / write to nvram (see section 4.13.1 above), and 3) read / write to flash rom (see section 4.13.3 above). for ddc2bi communication over the analog vga conn ector pins gpio22/hclk and gpio16/hfsn should be connected to the ddc clock and data pins of the analog dsub15 vga connector. GM2121 contains serial to parallel conversi on hardware, that is then accessed by firmware for interpretation and execution of the ddc2bi command set. bootstrap opti on rom_addr12 (pin 142) is used to select the pin pair to be used for ddc2bi communication. this signal (named ddc_port_sel) selects between ddc2bi interface or gpio functions for pin pair s 8 (gpio22/hclk), 9 (gpio16/hfsn) and 18 (gpio15/ddc_scl), 19 (gpio14/ddc_sda) for the inte rnal standalone firmware. see the truth table below for further details. ddc2bi pin pair pin number (port function) ddc_port_sel = ?0? rom_addr12 (pin 142) pulled low ddc_port_sel = ?1? rom_addr12 (pin 142) pulled high pin 8 (gpio22/hclk) gpio22 hclk pin pair hfsn / hclk pin 9 (gpio16/hfsn) gpio16 hfsn pin 18 (gpio15/ddc_scl) ddc_scl gpio15 pin pair ddc_sda / ddc_scl pin 19 (gpio14/ddc_sda) ddc_sda gpio14 4.14.6 general purpose inputs and outputs (gpio?s) the GM2121 has 23 general-purpose input/output (gpi o) and 8 general-purpose output (gpo) pins. these are used by the ocm to communicate with othe r devices in the system such as keypad buttons, nvram, leds, audio dac, etc. each gpio has indepe ndent direction control, open drain enable, for reading and writing. the gpo?s are shared w ith GM2121?s test_bus. to activate these gpo?s set test bus_control (register 0x1e6) to 0x00 and test_bu s_en (register 0x1e7 bit 2) to ?1?, pins 88-97 can function as general-purpose outputs gpo0-7. note that the gpio pins have alternate functionality as described in table 16 below.
GM2121 preliminary data sheet c2121-dat-01f 41 december 2002 http://www.genesis-microchip.com table 16. GM2121 gpios and alternative functions pin name pin number alternative function gpio0/pwm0 gpio1/pwm1 gpio2/pwm2 23 24 25 pwm0, pwm1 and pwm2 back light intensity cont rols, as described in section 4.17.2 below. gpio3/timer1 26 timer1 input of the ocm. gpio4/uart_di gpio5/uard_d0 27 28 ocm uart data in/out signals respectively. gpio6 gpio7 29 32 gpio8/irqinn 22 ocm external interrupt source (irqinn). gpio9 gpio10 33 34 gpio11/rom_wen 35 write enable for external rom if programmable flash device is used. gpio12/nvram_sda gpio13/nvram_scl 36 37 data and clock lines for master 2-wire serial in terface to nvram when GM2121 is used in standalone configuration (section 4.14.1). gpio14/ddc_scl gpio15/ddc_sda 18 19 general-purpose input/output signals. open drain option via register setting. [bi-directional input, schmitt trigger (400mv typical hysteresis), 5v-tolerant] gpio16/hfsn 9 serial data lin e for 2-wire host interface. gpio17/hdata0 gpio18/hdata1 gpio19/hdata2 gpio20/hdata3 13 12 11 10 gpio21/irqn 16 ocm interrupt output pin. gpio22/hclk 8 serial input clock for 2-wire host interface. gpo 0 88 gpo 1 89 gpo 2 92 gpo 3 93 gpo 4 94 gpo 5 95 gpo 6 96 gpo 7 97 4.15 bootstrap configuration pins during hardware reset, the external rom address pins rom_addr[15:0] are configured as inputs. on the negating edge of resetn, the value on these pins is la tched and stored. this value is readable by the on-chip microcontroller (or an external microcontro ller via the host interface). install a 10k pull-up resistor to indicate a ?1?, otherwise a ?0? is indicated because rom_addr[15:0] have a 60k ? internal pull-down resistor. table 17. bootstrap signals signal name pin name description host_addr(6:0) rom_addr(6:0) if using 2-wire host protocol, these are the serial bus device address. host_protocol rom_addr7 program this bit to 0 for 2-wire host interface operation. host_port_en rom_addr8 program this bit to 0 for 2-wire host interface operation. note: for ddc2bi operation on hclk/hfsn (recommended) set to 0 (unconnected). ocm_start rom_addr9 determines the operating condition of the ocm after hw reset: 0 = ocm remains in reset until enabled by register bit. 1 = ocm becomes active after ocm_clk is stable. ddc_port_sel rom_addr12 selects the pin pair to be used for ddc2bi communication for the standalone firmware (standalone configuration is selected when bootstrap of rom_addr14 = 0) 0 = gpio14/ddc_scl and gpio15/ddc_sda 1 = gpio22/hclk and gpio16/hfsn
GM2121 preliminary data sheet c2121-dat-01f 42 december 2002 http://www.genesis-microchip.com signal name pin name description tclk_sel1 tclk_sel0 rom_addr11 rom_addr10 selects the for the standalone firmware uart baud rate depending on the frequency of the tclk crystal (tclk_sel1, tclk_sel0) 00 = 115.2 kbaud (for tclk = 14.3 mhz) 01 = 57.6 kbaud (for tclk = 20 mhz) 10 = 57.6 kbaud (for tclk = 24 mhz) 11 = 57.6 kbaud (for tclk = 14.3 mhz) osc_sel rom_addr13 selects reference clock source (refer to figure 7): 0 = xtal and tclk pins are connected to a crystal oscillator. 1 = tclk input is driven with a single-ended ttl/cmos clock oscillator. ocm_rom_cnfg(1) rom_addr14 together with ocm_ control register (0x22) bit 4, this bit selects internal/external rom configuratio n. 0 = all 48k of rom is internal. 1 = all 48k of rom is in external rom using rom_addr 15:0 address outputs if register 0x22 bit 4 is 0. if regi ster 0x22 bit 4 is 1, 0-32k rom is internal, and 32k~48k rom is exter nal using rom_addr13:0 address outputs. note: when booting from internal rom (standalone c onfiguration) the embedded firmware checks for a signature in external rom (values 0x89, 0xab, 0xcd, 0xef at addresses 0xfffc, 0xfffd, 0xfffe, 0xffff) and if present then ocm begins executing from address 0x0000 of external rom (i.e. full-custom configuration). pbias_pol rom_addr15 sets the polar ity of the pbias signal after the reset sequence. this is to prevent flashing during power up, for panels with active low panel enable signal. 0 = pbias set to low after reset 1 = pbias set to high after reset 4.16 host interface GM2121 contains many internal registers that cont rol its operation. these are described in the GM2121 register listing (c2121-dsl-01). a serial host interface is provided to allow an extern al device to peek and poke registers in the GM2121. this is done using a 2-wire serial protocol. note that 2-wire host interface requires bootstrap settings as described in table 17. an arbitration mechanism ensures that register accesses from the ocm and the 2-wire host interface port are always serviced (time division multiplexing). 4.16.1 host interface command format transactions on the 2-wire host protocol occurs in in teger multiples of bytes (i.e. 8 bits or two nibbles respectively). these form an instruction byte, a device register address and/or one or more data bytes. this is described in table 18. the first byte of each transfer indicates the type of operation to be performed by the GM2121. the table below lists the instruction codes and the type of transfer operation. the content of bytes that follow the instruction byte will vary depending on the instruction chosen. by utilizing these modes effectively, registers can be quickly configured. the two lsbs of the instruction code, denoted 'a9' a nd 'a8' in table 18 below, are bits 9 and 8 of the internal register address respectively. thus, they should be set to ?00? to select a starting register address of less than 256, ?01? to select an address in the range 256 to 511, and '10' to select an address in the range 512 to 767. these bits of the address increment in a ddress increment transfers. the unused bits in the instruction byte, denoted by 'x', should be set to ?1?.
GM2121 preliminary data sheet c2121-dat-01f 43 december 2002 http://www.genesis-microchip.com table 18. instruction byte map bit 7 6 5 4 3 2 1 0 operation mode description 0 0 0 1 x x a9 a8 write address increment 0 0 1 0 x x a9 a8 write address no increment (for table loading) allows the user to write a single or multiple bytes to a specified starting address location. a macro operation will c ause the internal address pointer to increment after each byte transmission. termination of the transfer will cause the address pointer to increment to the next address location. 1 0 0 1 x x a9 a8 read address increment 1 0 1 0 x x a9 a8 read address no increment (for table reading) allows the user to read multiple by tes from a specified starting address location. a macro operation will caus e the internal address pointer to increment after each read byte. termi nation of the trans fer will cause the address pointer to increment to the next address location. 0 0 1 1 x x a9 a8 0 1 0 0 x x a9 a8 1 0 0 0 x x a9 a8 1 0 1 1 x x a9 a8 1 1 0 0 x x a9 a8 reserved 0 0 0 0 x x a9 a8 0 1 0 1 x x a9 a8 0 1 1 0 x x a9 a8 0 1 1 1 x x a9 a8 1 1 0 1 x x a9 a8 1 1 1 0 x x a9 a8 1 1 1 1 x x a9 a8 spare no operation will be performed 4.16.2 2-wire serial protocol the 2-wire protocol consists of a serial clock hc lk and bi-directional serial data line hfsn. the bus master drives hclk and either the master or slave can drive the hfsn line (open drain) depending on whether a read or write operation is being perform ed. the GM2121 operates as a slave on the interface. the 2-wire protocol requires each device be addressab le by a 7-bit identification number. the GM2121 is initialized on power-up to 2-wire mode by asserti ng bootstrap pins host_protocol=0 and the device identification number on host_addr(6:0) on the rising edge of resetn (see table 17). this provides flexibility in system configuration with multiple devices that can have the same address. a 2-wire data transfer consists of a stream of ser ially transmitted bytes formatted as shown in the figure below. a transfer is initiated (start) by a high-to-l ow transition on hfsn while hclk is held high. a transfer is terminated by a stop (a low-to-high tr ansition on hfsn while hclk is held high) or by a start (to begin another transfer). the hfsn signal must be stable when hclk is high, it may only change when hclk is low (to avoid being misinterpreted as start or stop). address byte hfsn 123 789 hclk 456 12 89 data byte ack ack start stop receiver acknowledges by holding sda low r/w a6 a1 a2 a3 a4 a5 a0 d6 d7 d0 figure 28. 2-wire protocol data transfer each transaction on the hfsn is in integer multiples of 8 bits (i.e. bytes). the number of bytes that can be transmitted per transfer is unrestricted. each byte is transmitted with the most significant bit (msb) first. after the eight data bits, the master releases the h fsn line and the receiver asserts the hfsn line low to
GM2121 preliminary data sheet c2121-dat-01f 44 december 2002 http://www.genesis-microchip.com acknowledge receipt of the data. the master devi ce generates the hclk pulse during the acknowledge cycle. the addressed receiver is obliged to ac knowledge each byte that has been received. the write address increment and the write address no increment operations allow one or multiple registers to be programmed with only sending one st art address. in write address increment, the address pointer is automatically incremented after each byte has been sent and written. the transmission data stream for this mode is illustrated in figure 29 belo w. the highlighted sections of the waveform represent moments when the transmitting device must release th e hfsn line and wait for an acknowledgement from the GM2121 (the slave receiver). ack ack ack operati on code start hfsn hclk stop devi ce address register address data data r/ w ack 12 345 6789 12 345 6789 12 345 678912 9 a8 two msbs of register address a9 figure 29. 2-wire write operations (0x1x and 0x2x) the read address increment (0x90) and read address no increment (0xa0) operations are illustrated in figure 30. the highlighted sections of the wavefo rm represent moments when the transmitting device must release the hfsn line and waits for an acknowledgement from the master receiver. note that on the last byte read, no acknowledgement is issued to terminate the transfer. d ata d evi c e ad d r ess d ata d ata start ac k ack o per ati o n c o de start hfsn hclk sto p d evi c e add r ess r eg ister ad dr ess r/ w ac k r/ w ac k ac k figure 30. 2-wire read operation (0x9x and 0xax) please note that in all the above operations the opera tion code includes two address bits, as described in table 18. 4.17 miscellaneous functions 4.17.1 low power state the GM2121 provides a low power state in which the clocks to selected parts of the chip may be disabled (see table 20).
GM2121 preliminary data sheet c2121-dat-01f 45 december 2002 http://www.genesis-microchip.com 4.17.2 pulse width modulation (pwm) back light control many of today?s lcd back light inverters require both a pwm input and variable dc voltage to minimize flickering (due to the interference between panel timing and inverter?s ac timing), and adjust brightness. most lcd monitor manufactures currently use a microcontroller to provide these control signals. to minimize the burden on the external microcontroller, the GM2121 generates these signals directly. there are three pins available for controlling the lcd back light, pwm0 (gpio0), pwm1 (gpio1) and pwm2 (gpio2). the duty cycle of these signals is progr ammable. they may be connected to an external rc integrator to generate a variable dc voltage fo r a lcd back light inverter. panel hsync is used as the clock for a counter generating this output signal.
GM2121 preliminary data sheet c2121-dat-01f 46 december 2002 http://www.genesis-microchip.com 5 electrical specifications the following targeted specifications have been derived by simulation. 5.1 preliminary dc characteristics table 19. absolute maximum ratings parameter symbol min typ max units 3.3v supply voltages (1,2) v vdd_3.3 -0.3 3.6 v 2.5v supply voltages (1.2) v vdd_2.5 -0.3 2.75 v input voltage (5v tolerant inputs) (1,2) v in5vtol -0.3 5.5 v input voltage (non 5v tolerant inputs) (1,2) v in -0.3 3.6 v electrostatic discharge v esd 2.0 kv latch-up i la 100 ma ambient operati ng temperature t a 0 70 c storage temperature t stg -40 125 c operating junction temp. t j 0 125 c thermal resistance (junction to air) natural convection (3) ja 29.4 c/w thermal resistance (junction to case) convection (4) jc 13.2 c/w soldering temperature (30 sec.) t sol 220 c vapor phase soldering (30 sec.) t vap 220 c notes: (1) all voltages are measured with respect to gnd. (2) absolute maximum voltage ranges are for transient voltage excursions. (3) package thermal resistance is based on a pcb with one signal plane and two power planes. package ja is improved on a pcb with four or more layers. (4) based on the figures for the operating junction temperature, jc and power consumption in table 20, the typical case temperature is calculated as t c = t j - p x jc . this equals 102 degrees celsius .
GM2121 preliminary data sheet c2121-dat-01f 47 december 2002 http://www.genesis-microchip.com table 20. dc characteristics parameter symbol min typ max (1) units power power consumption @ 135 mhz p 1.57 1.726 w power consumption @ low power mode (2) p lp 0.076 w 3.3v supply voltages v vdd_3.3 3.0 3.3 3.6 v 2.5v supply voltages v vdd_2.5 2.25 2.5 2.75 v supply current @ low power mode (2) i lp 28 ma total supply current @ clk =135mhz ? 2.5v digital supply (3) ? 2.5v analog supply (4) ? 3.3v digital supply (5) ? 3.3v analog supply (6) i i 2.5v_vdd i 2.5v_avdd i 3.3v_vdd i 3.3v_avdd 597 412 80 8 97 656 468 80 11 97 ma ma ma ma ma inputs high voltage v ih 2.0 v dd v low voltage v il gnd 0.8 v clock high voltage v ihc 2.4 v dd v clock low voltage v ilc gnd 0.4 v high current (v in = 5.0 v) i ih -25 25 a low current (v in = 0.8 v) i il -25 25 a capacitance (v in = 2.4 v) c in 8 pf outputs high voltage (i oh = 7 ma) v oh 2.4 v dd v low voltage (i ol = -7 ma) v ol gnd 0.4 v tri-state leakage current i oz -25 25 a notes: (1) maximum current figures are provided for the purposes of selecting an appropriate power supply circuit. (2) low power figures result from setting the adc and clock power down bits so that only the micro-controller is running. (3) includes 2.5v digital core (cvdd) (4) includes pins vdd1_adc_2.5, vdd2_adc_2.5 and lvds transmitter power pins (5) includes pins vdd_dpll, v dd_sdds, vdd_ddds and rvdd. (6) includes pins avdd_adc, avdd_red, avdd_green, avdd_blue, avdd_rpll, avdd_sdds, and avdd_ddds.
GM2121 preliminary data sheet c2121-dat-01f 48 december 2002 http://www.genesis-microchip.com 5.2 preliminary ac characteristics the following targeted specifications have been derived by simulation. all timing is measured to a 1.5v logic-switching threshold. the minimum and maximum operating conditions used were: t die = 0 to 125 c, vdd = 2.35 to 2.65v, process = best to worst, c l = 16pf for all outputs. table 21. maximum speed of operation clock domain max speed of operation main input clock (tclk) 24 mhz ( 20.0mhz recommended) adc clock (aclk) 162.5mhz hclk host interface clock (6-wire protocol) 5 mhz input format measurement clock (ifm _clk) 50mhz ( 20.0mhz recommended) reference clock (rclk) 200mhz (200mhz recommended) on-chip microcontroller clock (ocm_clk) 100 mhz display clock (dclk) 135 mhz table 22. display timing and dclk adjustments dp_timing -> tap 0 (default) tap 1 tap 2 tap 3 min (ns) max (ns) min (ns) max (ns) min (ns) max (ns) min (ns) max (ns) propagation delay from dclk to da*/db* 1.0 4.5 0.5 3.5 -0 .5 2.5 -1.5 1.5 propagation delay from dclk to dhs 1. 0 4.5 0.5 3.5 -0.5 2.5 -1.5 1.5 propagation delay from dclk to dvs 0. 5 4.5 0.0 3.5 -1.0 2.5 -2.0 1.5 propagation delay from dclk to den 1. 0 4.5 0.5 3.5 -0.5 2.5 -1.5 1.5 note: dclk clock adjustments are the amount of additional delay that can be inserted in the dclk path, in order to reduce the propagation delay between dclk and its related signals. table 23. 2-wire host interface port timing parameter symbol min typ max units scl high time t shi 1.25 us scl low time t slo 1.25 us sda to scl setup t sdis 30 ns sda from scl hold t sdih 20 ns propagation delay from scl to sda t sdo3 10 150 ns note : the above table assumes ocm_clk = r_clk / 2 = 100 mhz (default) (ie 10ns / clock)
GM2121 preliminary data sheet c2121-dat-01f 49 december 2002 http://www.genesis-microchip.com 5.3 external rom interface timing requirements rom_addr[15:0] rom_data[7:0] rom_oen micro_clk (internal) latched data (internal) 74 a0 74 a0 00f4 00f5 00f6 t rc t acc t oe t micro_clk address asserted data latched figure 31. external rom interface timing diagram t micro_clk = 1 / f tclk = 1 / 24mhz = 41.6 ns (if 24mhz tclk crystal is used) micro_clk is the internal mcu clock derived from tclk and has the same frequency as tclk. at the maximum supported tclk frequency (24mhz) t he micro_clk period is about 41ns. the rom data is latched on the third micro_clk rising edge after the address bus is asserted. due to this requirement, the external rom should have a maximum access time of equal to or less than three tclk periods (for example, less than 123 ns when 24mhz tclk crystal is used). there are three criteria to be met for the external rom in terface timing (again, using 24mhz tclk as a worst-case example): 1. t rc = 4 x t mirco_clk = 166.4 ns 2. t accmax 3 x t mirco_clk = 124.8 ns 3. t oe 2 x t mirco_clk = 83.2 ns
GM2121 preliminary data sheet c2121-dat-01f 50 december 2002 http://www.genesis-microchip.com 6 ordering information order code application package temperature range GM2121 sxga 160-pin pqfp 0-70c
GM2121 preliminary data sheet c2121-dat-01f 51 december 2002 http://www.genesis-microchip.com 7 mechanical specifications a b c d g h m l j pin 1 40 80 160 121 i depressed dot on package indicates pin 1 (lower left corner) e symbol millimeter inch min nom max min nom max a 30.95 31.20 31.45 1.218 1.228 1.238 b 27.90 28.00 28.10 1.098 1.102 1.106 c 0.65 0.026 d 4.25 0.167 e 1.60 0.063 g 3.17 3.32 3.47 0.125 0.131 0.137 h 0.73 0.88 1.03 0.025 0.031 0.037 i 0.05 0.25 0.50 0.002 0.010 0.020 j 0 7 0 7 l 0.22 0.30 0.38 0.008 0.012 0.016 m 0.11 0.15 0.23 0.004 0.006 0.008 figure 32. GM2121 160-pin pq fp mechanical drawing


▲Up To Search▲   

 
Price & Availability of GM2121

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X